import { createStore } from "redux";
import { combineReducers } from "redux";
import list from "../global/List/reducer";
import modal from "../pages/Modal/reducer";

const auth = (state = { isAuthenticated: true }, action) => {
  return state;
};

const reducers = combineReducers({ list, modal, auth });

export default createStore(reducers);
